package com.itheima.d6_enum;

import java.security.PublicKey;

public class Test {
    public static void main(String[] args) {


        check(Constant.BOY);
    }

    public static void check(Constant sex){
        switch (sex){
            case BOY:
                System.out.println("男");
                break;
            case GIRL:
                System.out.println("女");
                break;
        }
    }
}
